package com.elai.tags.domain;

import java.util.List;
import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 画像模板对象 base_portrait_template
 * 
 * @author elai
 * @date 2021-10-09
 */
public class BasePortraitTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 20 */
    private Long id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 概览组件信息 */
    private List<BasePortraitTemplateItems> basePortraitTemplateItemsList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }

    public List<BasePortraitTemplateItems> getBasePortraitTemplateItemsList()
    {
        return basePortraitTemplateItemsList;
    }

    public void setBasePortraitTemplateItemsList(List<BasePortraitTemplateItems> basePortraitTemplateItemsList)
    {
        this.basePortraitTemplateItemsList = basePortraitTemplateItemsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("basePortraitTemplateItemsList", getBasePortraitTemplateItemsList())
            .toString();
    }
}
